#ifndef glog_head_h__
#define glog_head_h__

#ifdef ERROR
#undef ERROR
#endif

/*#include <glog/logging.h>*/
#include <sstream>

#define LOG_INFO std::cout

#define LOG_WARNING std::cout


#define LOG_ERROR std::cout

#define LOG_FATAL std::cout

#define LOG_DEBUG std::cout

// class TraceFunctionCallObject
// {
// public:
// 	TraceFunctionCallObject(google::LogMessage& log_msg, const char* fun_name) :  m_log_message(log_msg), m_fun_name(fun_name)
// 	{
// 		google::LogMessage clog = log_msg;
// 		m_log_message.stream() << m_fun_name << "  start";
// 	}
// 
// 	~TraceFunctionCallObject()
// 	{
// 		m_log_message.stream()  << "  end";
// 
// 	}
// 
// 
// private:
// 	/*LogSeverity m_level;*/
// 	const char* m_fun_name;
// 	google::LogMessage& m_log_message;
// };
// 

#define LogFunctionEnter LOG_DEBUG << __FUNCTION__ << " enter"
#define LogFunctionLeave LOG_DEBUG << __FUNCTION__ << " leave"


// //using namespace google;

#endif // glog_head_h__